package com.reader.api.service.comment;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.reader.api.entity.comment.ReaderComment;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * @@description  服务类
 * @author        jiahaikun
 * @date          2018-11-09
 */
public interface IReaderCommentService extends IService<ReaderComment> {

        /**
         * @function   分页查询
         * @param currentPage 当前页
         * @param size 每页显示条数
         * @param docId 内容ID
         */
        Page<LinkedHashMap<String, Object>>  selectListPage(int currentPage, int size, String docId, Integer appUserId);
}